package com.csjbot.snowbot_rogue.bean;

import com.slamtec.slamware.geometry.PointF;
import com.slamtec.slamware.geometry.Size;

import java.util.List;

/**
 * @author: jl
 * @Time: 2017/1/10
 * @Desc:恢复地图数据实体类
 */

public class MapDataBean {
    /**
     * 地图
     */
    private PointF origin;
    private Size dimension;
    private PointF resolution;
    private long timestamp;

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    private String createTime;
    private String data;

    public PointF getOrigin() {
        return origin;
    }

    public void setOrigin(PointF origin) {
        this.origin = origin;
    }

    public Size getDimension() {
        return dimension;
    }

    public void setDimension(Size dimension) {
        this.dimension = dimension;
    }

    public PointF getResolution() {
        return resolution;
    }

    public void setResolution(PointF resolution) {
        this.resolution = resolution;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    /**
     * 虚拟墙
     */

    private List<MapWalls> wallsData;

    public List<MapWalls> getWallsData() {
        return wallsData;
    }

    public void setWallsData(List<MapWalls> data) {
        this.wallsData = data;
    }

    public static class MapWalls {
        public float getLine_startPoint_x() {
            return line_startPoint_x;
        }

        public float getLine_startPoint_y() {
            return line_startPoint_y;
        }

        public float getLine_endPoint_x() {
            return line_endPoint_x;
        }

        public float getLine_endPoint_y() {
            return line_endPoint_y;
        }

        public int getSegmentId() {
            return segmentId;
        }

        private int segmentId;

        public void setSegmentId(int segmentId) {
            this.segmentId = segmentId;
        }

        public void setLine_startPoint_x(float line_startPoint_x) {
            this.line_startPoint_x = line_startPoint_x;
        }

        public void setLine_startPoint_y(float line_startPoint_y) {
            this.line_startPoint_y = line_startPoint_y;
        }

        public void setLine_endPoint_x(float line_endPoint_x) {
            this.line_endPoint_x = line_endPoint_x;
        }

        public void setLine_endPoint_y(float line_endPoint_y) {
            this.line_endPoint_y = line_endPoint_y;
        }

        private float line_startPoint_x;
        private float line_startPoint_y;
        private float line_endPoint_x;
        private float line_endPoint_y;
    }

}
